package com.jr.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.Date;

@ToString
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
public class Order {
    private Integer orderId;
    private String orderNumber;
    private Integer ownerId;
    private Integer providerId;
    private Integer petId;
    private Integer serviceTypeId;
    private Date startDate;
    private Date endDate;
    private BigDecimal totalAmount;
    private String status; // pending, confirmed, in_progress, completed, cancelled, paid, refunded
    private String paymentMethod;
    private String paymentStatus; // unpaid, paid, refunded, partially_refunded
    private String specialRequests;
    private Date createdAt;
    private Date updatedAt;
}
